package com.ttj.domain.oracle.gen;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class OrderInstockDetailCriteria {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer mysqlOffset;

    protected Integer mysqlLength;

    public OrderInstockDetailCriteria() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * @param mysqlOffset 
	 *            指定返回记录行的偏移量<br>
	 *            mysqlOffset= 5,mysqlLength=10;  // 检索记录行 6-15
     */
    public void setMysqlOffset(Integer mysqlOffset) {
        this.mysqlOffset=mysqlOffset;
    }

    /**
     * @param mysqlLength 
	 *            指定返回记录行的最大数目<br>
	 *            mysqlOffset= 5,mysqlLength=10;  // 检索记录行 6-15
     */
    public Integer getMysqlOffset() {
        return mysqlOffset;
    }

    /**
     * @param mysqlOffset 
	 *            指定返回记录行的偏移量<br>
	 *            mysqlOffset= 5,mysqlLength=10;  // 检索记录行 6-15
     */
    public void setMysqlLength(Integer mysqlLength) {
        this.mysqlLength=mysqlLength;
    }

    /**
     * @param mysqlLength 
	 *            指定返回记录行的最大数目<br>
	 *            mysqlOffset= 5,mysqlLength=10;  // 检索记录行 6-15
     */
    public Integer getMysqlLength() {
        return mysqlLength;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andOrderIdIsNull() {
            addCriterion("ORDER_ID is null");
            return (Criteria) this;
        }

        public Criteria andOrderIdIsNotNull() {
            addCriterion("ORDER_ID is not null");
            return (Criteria) this;
        }

        public Criteria andOrderIdEqualTo(Integer value) {
            addCriterion("ORDER_ID =", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotEqualTo(Integer value) {
            addCriterion("ORDER_ID <>", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThan(Integer value) {
            addCriterion("ORDER_ID >", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("ORDER_ID >=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThan(Integer value) {
            addCriterion("ORDER_ID <", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdLessThanOrEqualTo(Integer value) {
            addCriterion("ORDER_ID <=", value, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdIn(List<Integer> values) {
            addCriterion("ORDER_ID in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotIn(List<Integer> values) {
            addCriterion("ORDER_ID not in", values, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdBetween(Integer value1, Integer value2) {
            addCriterion("ORDER_ID between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andOrderIdNotBetween(Integer value1, Integer value2) {
            addCriterion("ORDER_ID not between", value1, value2, "orderId");
            return (Criteria) this;
        }

        public Criteria andGIdIsNull() {
            addCriterion("G_ID is null");
            return (Criteria) this;
        }

        public Criteria andGIdIsNotNull() {
            addCriterion("G_ID is not null");
            return (Criteria) this;
        }

        public Criteria andGIdEqualTo(Integer value) {
            addCriterion("G_ID =", value, "gId");
            return (Criteria) this;
        }

        public Criteria andGIdNotEqualTo(Integer value) {
            addCriterion("G_ID <>", value, "gId");
            return (Criteria) this;
        }

        public Criteria andGIdGreaterThan(Integer value) {
            addCriterion("G_ID >", value, "gId");
            return (Criteria) this;
        }

        public Criteria andGIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("G_ID >=", value, "gId");
            return (Criteria) this;
        }

        public Criteria andGIdLessThan(Integer value) {
            addCriterion("G_ID <", value, "gId");
            return (Criteria) this;
        }

        public Criteria andGIdLessThanOrEqualTo(Integer value) {
            addCriterion("G_ID <=", value, "gId");
            return (Criteria) this;
        }

        public Criteria andGIdIn(List<Integer> values) {
            addCriterion("G_ID in", values, "gId");
            return (Criteria) this;
        }

        public Criteria andGIdNotIn(List<Integer> values) {
            addCriterion("G_ID not in", values, "gId");
            return (Criteria) this;
        }

        public Criteria andGIdBetween(Integer value1, Integer value2) {
            addCriterion("G_ID between", value1, value2, "gId");
            return (Criteria) this;
        }

        public Criteria andGIdNotBetween(Integer value1, Integer value2) {
            addCriterion("G_ID not between", value1, value2, "gId");
            return (Criteria) this;
        }

        public Criteria andNumIsNull() {
            addCriterion("NUM is null");
            return (Criteria) this;
        }

        public Criteria andNumIsNotNull() {
            addCriterion("NUM is not null");
            return (Criteria) this;
        }

        public Criteria andNumEqualTo(Integer value) {
            addCriterion("NUM =", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumNotEqualTo(Integer value) {
            addCriterion("NUM <>", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumGreaterThan(Integer value) {
            addCriterion("NUM >", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("NUM >=", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumLessThan(Integer value) {
            addCriterion("NUM <", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumLessThanOrEqualTo(Integer value) {
            addCriterion("NUM <=", value, "num");
            return (Criteria) this;
        }

        public Criteria andNumIn(List<Integer> values) {
            addCriterion("NUM in", values, "num");
            return (Criteria) this;
        }

        public Criteria andNumNotIn(List<Integer> values) {
            addCriterion("NUM not in", values, "num");
            return (Criteria) this;
        }

        public Criteria andNumBetween(Integer value1, Integer value2) {
            addCriterion("NUM between", value1, value2, "num");
            return (Criteria) this;
        }

        public Criteria andNumNotBetween(Integer value1, Integer value2) {
            addCriterion("NUM not between", value1, value2, "num");
            return (Criteria) this;
        }

        public Criteria andStockIdIsNull() {
            addCriterion("STOCK_ID is null");
            return (Criteria) this;
        }

        public Criteria andStockIdIsNotNull() {
            addCriterion("STOCK_ID is not null");
            return (Criteria) this;
        }

        public Criteria andStockIdEqualTo(Integer value) {
            addCriterion("STOCK_ID =", value, "stockId");
            return (Criteria) this;
        }

        public Criteria andStockIdNotEqualTo(Integer value) {
            addCriterion("STOCK_ID <>", value, "stockId");
            return (Criteria) this;
        }

        public Criteria andStockIdGreaterThan(Integer value) {
            addCriterion("STOCK_ID >", value, "stockId");
            return (Criteria) this;
        }

        public Criteria andStockIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("STOCK_ID >=", value, "stockId");
            return (Criteria) this;
        }

        public Criteria andStockIdLessThan(Integer value) {
            addCriterion("STOCK_ID <", value, "stockId");
            return (Criteria) this;
        }

        public Criteria andStockIdLessThanOrEqualTo(Integer value) {
            addCriterion("STOCK_ID <=", value, "stockId");
            return (Criteria) this;
        }

        public Criteria andStockIdIn(List<Integer> values) {
            addCriterion("STOCK_ID in", values, "stockId");
            return (Criteria) this;
        }

        public Criteria andStockIdNotIn(List<Integer> values) {
            addCriterion("STOCK_ID not in", values, "stockId");
            return (Criteria) this;
        }

        public Criteria andStockIdBetween(Integer value1, Integer value2) {
            addCriterion("STOCK_ID between", value1, value2, "stockId");
            return (Criteria) this;
        }

        public Criteria andStockIdNotBetween(Integer value1, Integer value2) {
            addCriterion("STOCK_ID not between", value1, value2, "stockId");
            return (Criteria) this;
        }

        public Criteria andInIdIsNull() {
            addCriterion("IN_ID is null");
            return (Criteria) this;
        }

        public Criteria andInIdIsNotNull() {
            addCriterion("IN_ID is not null");
            return (Criteria) this;
        }

        public Criteria andInIdEqualTo(Integer value) {
            addCriterion("IN_ID =", value, "inId");
            return (Criteria) this;
        }

        public Criteria andInIdNotEqualTo(Integer value) {
            addCriterion("IN_ID <>", value, "inId");
            return (Criteria) this;
        }

        public Criteria andInIdGreaterThan(Integer value) {
            addCriterion("IN_ID >", value, "inId");
            return (Criteria) this;
        }

        public Criteria andInIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("IN_ID >=", value, "inId");
            return (Criteria) this;
        }

        public Criteria andInIdLessThan(Integer value) {
            addCriterion("IN_ID <", value, "inId");
            return (Criteria) this;
        }

        public Criteria andInIdLessThanOrEqualTo(Integer value) {
            addCriterion("IN_ID <=", value, "inId");
            return (Criteria) this;
        }

        public Criteria andInIdIn(List<Integer> values) {
            addCriterion("IN_ID in", values, "inId");
            return (Criteria) this;
        }

        public Criteria andInIdNotIn(List<Integer> values) {
            addCriterion("IN_ID not in", values, "inId");
            return (Criteria) this;
        }

        public Criteria andInIdBetween(Integer value1, Integer value2) {
            addCriterion("IN_ID between", value1, value2, "inId");
            return (Criteria) this;
        }

        public Criteria andInIdNotBetween(Integer value1, Integer value2) {
            addCriterion("IN_ID not between", value1, value2, "inId");
            return (Criteria) this;
        }

        public Criteria andOIndateIsNull() {
            addCriterion("O_INDATE is null");
            return (Criteria) this;
        }

        public Criteria andOIndateIsNotNull() {
            addCriterion("O_INDATE is not null");
            return (Criteria) this;
        }

        public Criteria andOIndateEqualTo(Date value) {
            addCriterion("O_INDATE =", value, "oIndate");
            return (Criteria) this;
        }

        public Criteria andOIndateNotEqualTo(Date value) {
            addCriterion("O_INDATE <>", value, "oIndate");
            return (Criteria) this;
        }

        public Criteria andOIndateGreaterThan(Date value) {
            addCriterion("O_INDATE >", value, "oIndate");
            return (Criteria) this;
        }

        public Criteria andOIndateGreaterThanOrEqualTo(Date value) {
            addCriterion("O_INDATE >=", value, "oIndate");
            return (Criteria) this;
        }

        public Criteria andOIndateLessThan(Date value) {
            addCriterion("O_INDATE <", value, "oIndate");
            return (Criteria) this;
        }

        public Criteria andOIndateLessThanOrEqualTo(Date value) {
            addCriterion("O_INDATE <=", value, "oIndate");
            return (Criteria) this;
        }

        public Criteria andOIndateIn(List<Date> values) {
            addCriterion("O_INDATE in", values, "oIndate");
            return (Criteria) this;
        }

        public Criteria andOIndateNotIn(List<Date> values) {
            addCriterion("O_INDATE not in", values, "oIndate");
            return (Criteria) this;
        }

        public Criteria andOIndateBetween(Date value1, Date value2) {
            addCriterion("O_INDATE between", value1, value2, "oIndate");
            return (Criteria) this;
        }

        public Criteria andOIndateNotBetween(Date value1, Date value2) {
            addCriterion("O_INDATE not between", value1, value2, "oIndate");
            return (Criteria) this;
        }

        public Criteria andDoneNumIsNull() {
            addCriterion("DONE_NUM is null");
            return (Criteria) this;
        }

        public Criteria andDoneNumIsNotNull() {
            addCriterion("DONE_NUM is not null");
            return (Criteria) this;
        }

        public Criteria andDoneNumEqualTo(Integer value) {
            addCriterion("DONE_NUM =", value, "doneNum");
            return (Criteria) this;
        }

        public Criteria andDoneNumNotEqualTo(Integer value) {
            addCriterion("DONE_NUM <>", value, "doneNum");
            return (Criteria) this;
        }

        public Criteria andDoneNumGreaterThan(Integer value) {
            addCriterion("DONE_NUM >", value, "doneNum");
            return (Criteria) this;
        }

        public Criteria andDoneNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("DONE_NUM >=", value, "doneNum");
            return (Criteria) this;
        }

        public Criteria andDoneNumLessThan(Integer value) {
            addCriterion("DONE_NUM <", value, "doneNum");
            return (Criteria) this;
        }

        public Criteria andDoneNumLessThanOrEqualTo(Integer value) {
            addCriterion("DONE_NUM <=", value, "doneNum");
            return (Criteria) this;
        }

        public Criteria andDoneNumIn(List<Integer> values) {
            addCriterion("DONE_NUM in", values, "doneNum");
            return (Criteria) this;
        }

        public Criteria andDoneNumNotIn(List<Integer> values) {
            addCriterion("DONE_NUM not in", values, "doneNum");
            return (Criteria) this;
        }

        public Criteria andDoneNumBetween(Integer value1, Integer value2) {
            addCriterion("DONE_NUM between", value1, value2, "doneNum");
            return (Criteria) this;
        }

        public Criteria andDoneNumNotBetween(Integer value1, Integer value2) {
            addCriterion("DONE_NUM not between", value1, value2, "doneNum");
            return (Criteria) this;
        }

        public Criteria andWeightIsNull() {
            addCriterion("WEIGHT is null");
            return (Criteria) this;
        }

        public Criteria andWeightIsNotNull() {
            addCriterion("WEIGHT is not null");
            return (Criteria) this;
        }

        public Criteria andWeightEqualTo(Double value) {
            addCriterion("WEIGHT =", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotEqualTo(Double value) {
            addCriterion("WEIGHT <>", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightGreaterThan(Double value) {
            addCriterion("WEIGHT >", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightGreaterThanOrEqualTo(Double value) {
            addCriterion("WEIGHT >=", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightLessThan(Double value) {
            addCriterion("WEIGHT <", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightLessThanOrEqualTo(Double value) {
            addCriterion("WEIGHT <=", value, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightIn(List<Double> values) {
            addCriterion("WEIGHT in", values, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotIn(List<Double> values) {
            addCriterion("WEIGHT not in", values, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightBetween(Double value1, Double value2) {
            addCriterion("WEIGHT between", value1, value2, "weight");
            return (Criteria) this;
        }

        public Criteria andWeightNotBetween(Double value1, Double value2) {
            addCriterion("WEIGHT not between", value1, value2, "weight");
            return (Criteria) this;
        }

        public Criteria andRealNumIsNull() {
            addCriterion("REAL_NUM is null");
            return (Criteria) this;
        }

        public Criteria andRealNumIsNotNull() {
            addCriterion("REAL_NUM is not null");
            return (Criteria) this;
        }

        public Criteria andRealNumEqualTo(Integer value) {
            addCriterion("REAL_NUM =", value, "realNum");
            return (Criteria) this;
        }

        public Criteria andRealNumNotEqualTo(Integer value) {
            addCriterion("REAL_NUM <>", value, "realNum");
            return (Criteria) this;
        }

        public Criteria andRealNumGreaterThan(Integer value) {
            addCriterion("REAL_NUM >", value, "realNum");
            return (Criteria) this;
        }

        public Criteria andRealNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("REAL_NUM >=", value, "realNum");
            return (Criteria) this;
        }

        public Criteria andRealNumLessThan(Integer value) {
            addCriterion("REAL_NUM <", value, "realNum");
            return (Criteria) this;
        }

        public Criteria andRealNumLessThanOrEqualTo(Integer value) {
            addCriterion("REAL_NUM <=", value, "realNum");
            return (Criteria) this;
        }

        public Criteria andRealNumIn(List<Integer> values) {
            addCriterion("REAL_NUM in", values, "realNum");
            return (Criteria) this;
        }

        public Criteria andRealNumNotIn(List<Integer> values) {
            addCriterion("REAL_NUM not in", values, "realNum");
            return (Criteria) this;
        }

        public Criteria andRealNumBetween(Integer value1, Integer value2) {
            addCriterion("REAL_NUM between", value1, value2, "realNum");
            return (Criteria) this;
        }

        public Criteria andRealNumNotBetween(Integer value1, Integer value2) {
            addCriterion("REAL_NUM not between", value1, value2, "realNum");
            return (Criteria) this;
        }

        public Criteria andRealWeightIsNull() {
            addCriterion("REAL_WEIGHT is null");
            return (Criteria) this;
        }

        public Criteria andRealWeightIsNotNull() {
            addCriterion("REAL_WEIGHT is not null");
            return (Criteria) this;
        }

        public Criteria andRealWeightEqualTo(Double value) {
            addCriterion("REAL_WEIGHT =", value, "realWeight");
            return (Criteria) this;
        }

        public Criteria andRealWeightNotEqualTo(Double value) {
            addCriterion("REAL_WEIGHT <>", value, "realWeight");
            return (Criteria) this;
        }

        public Criteria andRealWeightGreaterThan(Double value) {
            addCriterion("REAL_WEIGHT >", value, "realWeight");
            return (Criteria) this;
        }

        public Criteria andRealWeightGreaterThanOrEqualTo(Double value) {
            addCriterion("REAL_WEIGHT >=", value, "realWeight");
            return (Criteria) this;
        }

        public Criteria andRealWeightLessThan(Double value) {
            addCriterion("REAL_WEIGHT <", value, "realWeight");
            return (Criteria) this;
        }

        public Criteria andRealWeightLessThanOrEqualTo(Double value) {
            addCriterion("REAL_WEIGHT <=", value, "realWeight");
            return (Criteria) this;
        }

        public Criteria andRealWeightIn(List<Double> values) {
            addCriterion("REAL_WEIGHT in", values, "realWeight");
            return (Criteria) this;
        }

        public Criteria andRealWeightNotIn(List<Double> values) {
            addCriterion("REAL_WEIGHT not in", values, "realWeight");
            return (Criteria) this;
        }

        public Criteria andRealWeightBetween(Double value1, Double value2) {
            addCriterion("REAL_WEIGHT between", value1, value2, "realWeight");
            return (Criteria) this;
        }

        public Criteria andRealWeightNotBetween(Double value1, Double value2) {
            addCriterion("REAL_WEIGHT not between", value1, value2, "realWeight");
            return (Criteria) this;
        }

        public Criteria andConfirmNumIsNull() {
            addCriterion("CONFIRM_NUM is null");
            return (Criteria) this;
        }

        public Criteria andConfirmNumIsNotNull() {
            addCriterion("CONFIRM_NUM is not null");
            return (Criteria) this;
        }

        public Criteria andConfirmNumEqualTo(Integer value) {
            addCriterion("CONFIRM_NUM =", value, "confirmNum");
            return (Criteria) this;
        }

        public Criteria andConfirmNumNotEqualTo(Integer value) {
            addCriterion("CONFIRM_NUM <>", value, "confirmNum");
            return (Criteria) this;
        }

        public Criteria andConfirmNumGreaterThan(Integer value) {
            addCriterion("CONFIRM_NUM >", value, "confirmNum");
            return (Criteria) this;
        }

        public Criteria andConfirmNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("CONFIRM_NUM >=", value, "confirmNum");
            return (Criteria) this;
        }

        public Criteria andConfirmNumLessThan(Integer value) {
            addCriterion("CONFIRM_NUM <", value, "confirmNum");
            return (Criteria) this;
        }

        public Criteria andConfirmNumLessThanOrEqualTo(Integer value) {
            addCriterion("CONFIRM_NUM <=", value, "confirmNum");
            return (Criteria) this;
        }

        public Criteria andConfirmNumIn(List<Integer> values) {
            addCriterion("CONFIRM_NUM in", values, "confirmNum");
            return (Criteria) this;
        }

        public Criteria andConfirmNumNotIn(List<Integer> values) {
            addCriterion("CONFIRM_NUM not in", values, "confirmNum");
            return (Criteria) this;
        }

        public Criteria andConfirmNumBetween(Integer value1, Integer value2) {
            addCriterion("CONFIRM_NUM between", value1, value2, "confirmNum");
            return (Criteria) this;
        }

        public Criteria andConfirmNumNotBetween(Integer value1, Integer value2) {
            addCriterion("CONFIRM_NUM not between", value1, value2, "confirmNum");
            return (Criteria) this;
        }

        public Criteria andConfirmWeightIsNull() {
            addCriterion("CONFIRM_WEIGHT is null");
            return (Criteria) this;
        }

        public Criteria andConfirmWeightIsNotNull() {
            addCriterion("CONFIRM_WEIGHT is not null");
            return (Criteria) this;
        }

        public Criteria andConfirmWeightEqualTo(Double value) {
            addCriterion("CONFIRM_WEIGHT =", value, "confirmWeight");
            return (Criteria) this;
        }

        public Criteria andConfirmWeightNotEqualTo(Double value) {
            addCriterion("CONFIRM_WEIGHT <>", value, "confirmWeight");
            return (Criteria) this;
        }

        public Criteria andConfirmWeightGreaterThan(Double value) {
            addCriterion("CONFIRM_WEIGHT >", value, "confirmWeight");
            return (Criteria) this;
        }

        public Criteria andConfirmWeightGreaterThanOrEqualTo(Double value) {
            addCriterion("CONFIRM_WEIGHT >=", value, "confirmWeight");
            return (Criteria) this;
        }

        public Criteria andConfirmWeightLessThan(Double value) {
            addCriterion("CONFIRM_WEIGHT <", value, "confirmWeight");
            return (Criteria) this;
        }

        public Criteria andConfirmWeightLessThanOrEqualTo(Double value) {
            addCriterion("CONFIRM_WEIGHT <=", value, "confirmWeight");
            return (Criteria) this;
        }

        public Criteria andConfirmWeightIn(List<Double> values) {
            addCriterion("CONFIRM_WEIGHT in", values, "confirmWeight");
            return (Criteria) this;
        }

        public Criteria andConfirmWeightNotIn(List<Double> values) {
            addCriterion("CONFIRM_WEIGHT not in", values, "confirmWeight");
            return (Criteria) this;
        }

        public Criteria andConfirmWeightBetween(Double value1, Double value2) {
            addCriterion("CONFIRM_WEIGHT between", value1, value2, "confirmWeight");
            return (Criteria) this;
        }

        public Criteria andConfirmWeightNotBetween(Double value1, Double value2) {
            addCriterion("CONFIRM_WEIGHT not between", value1, value2, "confirmWeight");
            return (Criteria) this;
        }
    }

    /**
     * This class was generated by MyBatis Generator.
     * This class corresponds to the database table ORDER_INSTOCK_DETAIL
     *
     * @mbg.generated do_not_delete_during_merge Wed Jul 12 08:41:20 CST 2017
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}